home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / game / role / HammyTown.lha / 7.room < prev    next >
Text File  |  1997-10-22  |  4KB  |  168 lines

  1. /*                     This is a room file for GRAAL
  2. /*
  3. /*                                 7.room
  4. /*                                Kitchen.
  5. /* Room flags, 1=0 first visit, 2=1 Whisky added to soup
  6.  
  7. /* UPDATE: scroll_frames;normal_frames
  8. /*
  9. /*
  10. UPDATE: 3;1
  11.  
  12. /* SECTION: section number
  13. /*
  14. SECTION: 1
  15.  
  16. /* BG_IFF: filename
  17. /*
  18. BG_IFF: 7BG.IFF
  19.  
  20. /* START_POS: sposno;bobimage;x;y;camera;floor
  21. /* 1->Floating Restaurant
  22. START_POS: 1;11;167;118;L;1
  23.  
  24. /* FLOOR: floorno;x1;y1;x2;y2;floormap/.../floormap
  25. /*
  26. FLOOR: 1;20;75;300;120;1-1
  27.  
  28. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  29. /*
  30. EXIT: 1;0;105;319;120;160;119;Floating Restaurant
  31.  
  32. /* CLPART: filename
  33. /*
  34. CLPART: 3FG.IFF
  35.  
  36. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  37. /*
  38. /* 1 is the cooker.
  39. ROOMBOBS: 1;1;243;206;25;33;20;0
  40. /* 2 is the saucepan.
  41. ROOMBOBS: 1;2;254;194;16;7;0;0
  42. /* 3 is the lamp.
  43. ROOMBOBS: 1;3;279;210;9;23;18;0
  44. /* 4 is the fork.
  45. ROOMBOBS: 1;4;296;209;8;27;0;0
  46.  
  47. /* STATIC: bobno;LBOBimage;putx;puty
  48.  
  49. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  50. /*
  51. ROOMOBJ: 1;Cooker;7;VIS;50;RBOB1;103;75;19;2;$800E; ;NPICK; ;8; ;MID;T;a;it; 
  52. ROOMOBJ: 2;Saucepan;7;VIS;51;RBOB2;107;43;12;29;$800E; ;NPICK; ;8; ;HIGH;T;a;it; 
  53.  
  54.  
  55. /* DACT: condition;...;action;...
  56. /*
  57. /*   These lines contain room actions performed directly as you enter the
  58. /*   room.
  59. /*
  60. /*
  61. /* Light up scene
  62. DACT: LIGHTS ON
  63. DACT: IFRF 1=0;SAY Interesting Kitchen.;SETRF 1=1;EXIT
  64.  
  65. /* LINE: dlgno;lineno;line;reuseline;conditions
  66. /*
  67. /*   Specifies a line of dialogue
  68. /*
  69. /* LACT: dlgno;lineno;action;...;action
  70. /*
  71.  
  72.  
  73.  
  74. /* Room actions follow below ***
  75. /*
  76. /* ACTION: verbno;condition;...;command;...
  77.  
  78. /*
  79. /* Action 0 - Exit
  80. /* ===============
  81. /*
  82. ACTION: 0;IFOBJ 1;MEXIT;GOTO 6,2;EXIT
  83.  
  84. /*
  85. /* Action 1 - Give
  86. /* ===============
  87. /*
  88. /*
  89. /* Action 2- Pick up
  90. /* =================
  91. /*
  92.  
  93. ACTION: 2;IFOBJ ROBJ2;MOBJ;SAY Why would I want to pick up this disgusting mess?;EXIT
  94.  
  95.  
  96. /*
  97. /* Action 3 - Use
  98. /* ==============
  99. /*
  100.  
  101. ACTION: 3;IFOBJ ROBJ1;MOBJ;SAY I'm not a real chef, remember!;SAY I just nicked the certificate out of that bloke's house.;EXIT
  102.  
  103. /*Info on room and object flags (essential for understanding the next 8 lines)
  104. /*RF    2=0 when no whisky in stew,  RF 2=1 when whisky is in stew.
  105. /*OF 11,1=0 when glass empty,  =1 when full of whisky, =2 when full of stew.
  106. /*OF  4,2=0 before given stew, =1 after given stew to Jack.
  107.  
  108. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;MOBJ ROBJ2
  109.  
  110. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFOF 4,2=1;SAY I think I've done enough mucking about with this stew.;EXIT
  111.  
  112. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFOF 1=2;SAY I've already got a glass full of the stuff!;SAY Believe me, that is more than enough!;EXIT
  113.  
  114. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFRF 2=0;IFOF 1=0;SAY Why would I want some of that horrible stuff?;EXIT
  115.  
  116. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFOF 1=1;SAY Okay, let's try and make this horrible stew taste a bit nicer!
  117. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFOF 1=1;SETRF 2=1;HANDLE ROBJ2;W 25;HANDLE -1;SAY Job done!;NAME Empty Glass;ICON 43;SETOF 1=0;EXIT
  118.  
  119. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFRF 2=1;IFOF 1=0;SAY Right, let's take some of this whisky flavoured stew.;HANDLE;W 25;HANDLE -1
  120. ACTION: 3;IFOBJ 11;IFOBJ2 ROBJ2;IFRF 2=1;IFOF 1=0;SETOF 1=2;NAME Whisky & Cockroach stew;ICON 44;EXIT
  121.  
  122.  
  123. /*
  124. /* Action 4 - Open
  125. /* ===============
  126. /*
  127.  
  128. ACTION: 4;IFOBJ ROBJ1;SAY I don't really want to open the cooker.;SAY I dread to think what's inside!;EXIT
  129.  
  130.  
  131.  
  132. /* Action 5 - Talk to
  133. /* ==================
  134. /*
  135.  
  136. /*
  137. /* Action 6 - Push
  138. /* ===============
  139. /*
  140.  
  141. ACTION: 6;IFOBJ ROBJ1;MOBJ;HANDLE;W 50;HANDLE -1;SAY It doesn't move.;EXIT
  142. /*
  143. /* Action 7 - Close
  144. /* ================
  145.  
  146. ACTION: 7;IFOBJ ROBJ1;SAY The door is already shut.;EXIT
  147.  
  148.  
  149. /*
  150. /* Action 8 - Look at
  151. /* ==================
  152. /*
  153. ACTION: 8;MOBJ
  154. ACTION: 8;IFOBJ ROBJ1;SAY It's an old and very dodgy looking cooker.;EXIT
  155. ACTION: 8;IFOBJ ROBJ2;IFRF 2=0;SAY This looks like Jack's cockroach stew on the boil.;SAY I think I'm going to puke.;EXIT
  156. ACTION: 8;IFOBJ ROBJ2;SAY Hmm. Whisky flavour cockroach stew.;EXIT
  157.  
  158. /*
  159. /* Action 9 - Pull
  160. /* ===============
  161. /*
  162. ACTION: 9;IFOBJ ROBJ1;VERB 6;REDO
  163. ACTION: 9;MOBJ
  164.  
  165. /*
  166. /* End of room file. Some comments must be here, otherwise  the last command
  167. /* line is missed out!
  168.